import Vue from 'vue'
import Router from 'vue-router'

import register from '@/pages/register'
import vipContent from '@/pages/vipContent'
import home from '@/pages/home'
Vue.use(Router)
const router = new Router({
    routes:[
        {
            path: '/',
            name: 'register',
            component: register
        },
        {
            path: '/vipContent',
            name: 'vipContent',
            component: vipContent
        },
        {
            path: '/home',
            name: 'home',
            component: home
        }
    ]
})

export default router
